package io.hx.modules.hos.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.hx.modules.patient.entity.PatientUserEntity;
import io.hx.modules.sys.entity.SysDeptEntity;
import io.hx.modules.sys.entity.SysUserEntity;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 预约表
 * 
 * @author Mark
 * @email sunlightcs@gmail.com
 * @date 2023-03-21 11:36:40
 */
@Data
@TableName("hos_appointment")
public class AppointmentEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private Integer id;
	/**
	 * 患者id
	 */
	private Integer userId;

	@TableField(exist = false)
	private PatientUserEntity user;//患者

	@TableField(exist = false)
	private SysUserEntity sysUser;

	@TableField(exist = false)
	private SysDeptEntity sysDeptEntity;

	/**
	 * 医生id
	 */
	private Integer sysUserId;
	/**
	 * 科室id
	 */
	private Integer outpatientsId;
	/**
	 * 就诊类型
	 */
	private Integer itemId;
	/**
	 * 预约时间
	 */
	private Date appointmentDate;
	/**
	 * 预约状态
	 */
	private Integer appointmentStatus;



}
